package com.basiclab.iot.stream.common;

/**
 * @description: 定义常量
 * @author: swwheihei
 * @date:   2019年5月30日 下午3:04:04
 *
 */
public class VideoManagerConstants {

	public static final String LF_SERVER_PREFIX = "LF_SIGNALLING_SERVER_INFO_";

	public static final String LF_SERVER_LIST = "LF_SERVER_LIST";

	public static final String LF_SERVER_STREAM_PREFIX = "LF_SIGNALLING_STREAM_";

	public static final String MEDIA_SERVER_PREFIX = "LF_MEDIA_SERVER_INFO:";

	public static final String ONLINE_MEDIA_SERVERS_PREFIX = "LF_ONLINE_MEDIA_SERVERS:";

	public static final String DEVICE_PREFIX = "LF_DEVICE_INFO";

	public static final String INVITE_PREFIX = "LF_GB_INVITE_INFO";

	public static final String SEND_RTP_PORT = "VM_SEND_RTP_PORT:";
	public static final String SEND_RTP_INFO_CALLID = "LF_SEND_RTP_INFO:CALL_ID:";
	public static final String SEND_RTP_INFO_STREAM = "LF_SEND_RTP_INFO:STREAM:";
	public static final String SEND_RTP_INFO_CHANNEL = "LF_SEND_RTP_INFO:CHANNEL:";

	public static final String SIP_INVITE_SESSION = "LF_SIP_INVITE_SESSION_INFO:";
	public static final String SIP_INVITE_SESSION_CALL_ID = SIP_INVITE_SESSION + "CALL_ID:";
	public static final String SIP_INVITE_SESSION_STREAM = SIP_INVITE_SESSION + "STREAM:";

	public static final String MEDIA_STREAM_AUTHORITY = "LF_MEDIA_STREAM_AUTHORITY:";

	public static final String SIP_CSEQ_PREFIX = "LF_SIP_CSEQ_";

	public static final String SIP_SUBSCRIBE_PREFIX = "LF_SIP_SUBSCRIBE_";

	public static final String SYSTEM_INFO_CPU_PREFIX = "LF_SYSTEM_INFO_CPU_";

	public static final String SYSTEM_INFO_MEM_PREFIX = "LF_SYSTEM_INFO_MEM_";

	public static final String SYSTEM_INFO_NET_PREFIX = "LF_SYSTEM_INFO_NET_";

	public static final String SYSTEM_INFO_DISK_PREFIX = "LF_SYSTEM_INFO_DISK_";
	public static final String BROADCAST_WAITE_INVITE = "task_broadcast_waite_invite_";

	public static final String PUSH_STREAM_LIST = "LF_PUSH_STREAM_LIST_";
	public static final String WAITE_SEND_PUSH_STREAM = "LF_WAITE_SEND_PUSH_STREAM:";
	public static final String START_SEND_PUSH_STREAM = "LF_START_SEND_PUSH_STREAM:";
	public static final String SSE_TASK_KEY = "SSE_TASK_";




	//************************** redis 消息*********************************

	/**
	 * 流变化的通知
	 */
	public static final String LF_MSG_STREAM_CHANGE_PREFIX = "LF_MSG_STREAM_CHANGE_";

	/**
	 * 接收推流设备的GPS变化通知
	 */
	public static final String VM_MSG_GPS = "VM_MSG_GPS";

	/**
	 * 接收推流设备的GPS变化通知
	 */
	public static final String VM_MSG_PUSH_STREAM_STATUS_CHANGE = "VM_MSG_PUSH_STREAM_STATUS_CHANGE";
	/**
	 * 接收推流设备列表更新变化通知
	 */
	public static final String VM_MSG_PUSH_STREAM_LIST_CHANGE = "VM_MSG_PUSH_STREAM_LIST_CHANGE";

	/**
	 * redis 消息通知设备推流到平台
	 */
	public static final String VM_MSG_STREAM_PUSH_REQUESTED = "VM_MSG_STREAM_PUSH_REQUESTED";

	/**
	 * redis 消息通知上级平台开始观看流
	 */
	public static final String VM_MSG_STREAM_START_PLAY_NOTIFY = "VM_MSG_STREAM_START_PLAY_NOTIFY";

	/**
	 * redis 消息通知上级平台停止观看流
	 */
	public static final String VM_MSG_STREAM_STOP_PLAY_NOTIFY = "VM_MSG_STREAM_STOP_PLAY_NOTIFY";

	/**
	 * redis 消息接收关闭一个推流
	 */
	public static final String VM_MSG_STREAM_PUSH_CLOSE_REQUESTED = "VM_MSG_STREAM_PUSH_CLOSE_REQUESTED";


	/**
	 * redis 消息通知平台通知设备推流结果
	 */
	public static final String VM_MSG_STREAM_PUSH_RESPONSE = "VM_MSG_STREAM_PUSH_RESPONSE";

	/**
	 * redis 通知平台关闭推流
	 */
	public static final String VM_MSG_STREAM_PUSH_CLOSE = "VM_MSG_STREAM_PUSH_CLOSE";

	/**
	 * redis 消息请求所有的在线通道
	 */
	public static final String VM_MSG_GET_ALL_ONLINE_REQUESTED = "VM_MSG_GET_ALL_ONLINE_REQUESTED";

	/**
	 * 移动位置订阅通知
	 */
	public static final String VM_MSG_SUBSCRIBE_MOBILE_POSITION = "mobileposition";

	/**
	 * 报警订阅的通知（收到报警向redis发出通知）
	 */
	public static final String VM_MSG_SUBSCRIBE_ALARM = "alarm";


	/**
	 * 报警通知的发送 （收到redis发出的通知，转发给其他平台）
	 */
	public static final String VM_MSG_SUBSCRIBE_ALARM_RECEIVE= "alarm_receive";

	/**
	 * 设备状态订阅的通知
	 */
	public static final String VM_MSG_SUBSCRIBE_DEVICE_STATUS = "device";


	//**************************    第三方  ****************************************

	public static final String LF_STREAM_GB_ID_PREFIX = "memberNo_";
	public static final String LF_STREAM_GPS_MSG_PREFIX = "LF_STREAM_GPS_MSG_";
	public static final String LF_OTHER_SEND_RTP_INFO = "LF_OTHER_SEND_RTP_INFO_";
	public static final String LF_OTHER_SEND_PS_INFO = "LF_OTHER_SEND_PS_INFO_";
	public static final String LF_OTHER_RECEIVE_RTP_INFO = "LF_OTHER_RECEIVE_RTP_INFO_";
	public static final String LF_OTHER_RECEIVE_PS_INFO = "LF_OTHER_RECEIVE_PS_INFO_";

	/**
	 * Redis Const
	 * 设备录像信息结果前缀
	 */
	public static final String REDIS_RECORD_INFO_RES_PRE = "GB_RECORD_INFO_RES_";
	/**
	 * Redis Const
	 * 设备录像信息结果前缀
	 */
	public static final String REDIS_RECORD_INFO_RES_COUNT_PRE = "GB_RECORD_INFO_RES_COUNT:";

}
